package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.LabourEnterpriseResourceDao;
import com.site.wisdom_construction.entity.personnelModule.LabourEnterpriseResource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/4
 * @Description
 */
@Service
public class LabourEnterpriseResourceService implements LabourEnterpriseResourceDao {
    @Autowired
    private LabourEnterpriseResourceDao labourEnterpriseResourceDao;

    @Override
    public int insertLabourEnterpriseResource(Map map) {
        return labourEnterpriseResourceDao.insertLabourEnterpriseResource(map);
    }

    @Override
    public int deleteLabourEnterpriseResource(Map map) {
        return labourEnterpriseResourceDao.deleteLabourEnterpriseResource(map);
    }

    @Override
    public int updateLabourEnterpriseResource(Map map) {
        return labourEnterpriseResourceDao.updateLabourEnterpriseResource(map);
    }

    @Override
    public List<LabourEnterpriseResource> findLabourEnterpriseResourceByPage(Map map) {
        return labourEnterpriseResourceDao.findLabourEnterpriseResourceByPage(map);
    }

    @Override
    public long Total(Map map) {
        return labourEnterpriseResourceDao.Total(map);
    }

    @Override
    public List<LabourEnterpriseResource> findLabourEnterpriseResourceById(Map map) {
        return labourEnterpriseResourceDao.findLabourEnterpriseResourceById(map);
    }
}
